package com.clas.liu.myapplication.model.event;

import com.clas.liu.myapplication.model.entity.user.UserRoot;

/**
 * Created by liu on 2019/4/14.
 */

public class LoginEvent extends BaseEvent {

    public static final int LOGIN_OK = 100;     //发送登陆请求成功的返回码
    public static final int LOGIN_FAIL = -100;  //发送登陆请求失败的错误码
    public static final int EXITED_OK = 300;     //用户存在的返回码
    public static final int EXITED_FAIL = -300;  //用户存在的错误码

    private UserRoot userRoot;

    public UserRoot getUserRoot() {
        return userRoot;
    }

    public void setUserRoot(UserRoot userRoot) {
        this.userRoot = userRoot;
    }
}
